package com.hyj.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.hyj.service.MessagesService;
import com.hyj.mapper.MessagesMapper;
import com.hyj.entity.Messages;

@Service
public class MessagesServiceImpl implements MessagesService {
	@Autowired
	private MessagesMapper messagesmapper;
		//根据用户编号查询提示信息
		@Override
		public List<Messages> selectMyMessages(Integer uid) {
			// TODO Auto-generated method stub
			
			return messagesmapper.selectMyMessage(uid);
		}
		//关闭
		@Override
		public Integer RomoveMessages(Integer uid) {
			// TODO Auto-generated method stub
			return messagesmapper.RomoveMessages(uid);
		}

	
}
